//
//  Advertising.m
//  小汽车
//
//  Created by 邹壮壮29 on 15-1-2.
//  Copyright (c) 2015年 蓝欧科技. All rights reserved.
//

#import "AdvertisingModel.h"

@implementation AdvertisingModel
-(void)dealloc{
    [super dealloc];
}
+(instancetype)advertisingWithTitle:(NSString *)title newsLink:(NSString *)newsLink{
    AdvertisingModel *model = [[[AdvertisingModel alloc]initWithTitle:title newsLink:newsLink]autorelease];
    return model;
}
-(instancetype)initWithTitle:(NSString *)title newsLink:(NSString *)newsLink{
    self = [super init];
    if (self) {
        self.title = title;
        self.newsLink = newsLink;
    }return self;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}
-(id)valueForUndefinedKey:(NSString *)key{
    return @"";
}
@end
